package com.ruoyi.boss.mapper;

import java.util.List;
import com.ruoyi.boss.domain.UserConsumptionRecords;

/**
 * 用户详情-消费记录-新增Mapper接口
 * 
 * @author rui
 * @date 2025-08-18
 */
public interface UserConsumptionRecordsMapper 
{
    /**
     * 查询用户详情-消费记录-新增
     * 
     * @param consumptionId 用户详情-消费记录-新增主键
     * @return 用户详情-消费记录-新增
     */
    public UserConsumptionRecords selectUserConsumptionRecordsByConsumptionId(Long consumptionId);

    /**
     * 查询用户详情-消费记录-新增列表
     * 
     * @param userConsumptionRecords 用户详情-消费记录-新增
     * @return 用户详情-消费记录-新增集合
     */
    public List<UserConsumptionRecords> selectUserConsumptionRecordsList(UserConsumptionRecords userConsumptionRecords);

    /**
     * 新增用户详情-消费记录-新增
     * 
     * @param userConsumptionRecords 用户详情-消费记录-新增
     * @return 结果
     */
    public int insertUserConsumptionRecords(UserConsumptionRecords userConsumptionRecords);

    /**
     * 修改用户详情-消费记录-新增
     * 
     * @param userConsumptionRecords 用户详情-消费记录-新增
     * @return 结果
     */
    public int updateUserConsumptionRecords(UserConsumptionRecords userConsumptionRecords);

    /**
     * 删除用户详情-消费记录-新增
     * 
     * @param consumptionId 用户详情-消费记录-新增主键
     * @return 结果
     */
    public int deleteUserConsumptionRecordsByConsumptionId(Long consumptionId);

    /**
     * 批量删除用户详情-消费记录-新增
     * 
     * @param consumptionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserConsumptionRecordsByConsumptionIds(Long[] consumptionIds);
}
